package com.gr.experimental.model.impl.distr.operations;

import com.gr.experimental.model.impl.distr.Context;

public class LiteralExpression implements Expression {

	Object literal;
	
	/**
	 * @param literal
	 */
	public LiteralExpression(Object literal) {
		super();
		this.literal = literal;
	}

	@Override
	public Object getValue(Context context) {
		return literal;
	}

	@Override
	public Class<?> getValueType() {
		return literal.getClass();
	}

}
